<template>
  <u-input v-model="value" :disabled="true" :border="false" :placeholder="placeholder" type="text"
    :input-align="inputAlign" />
</template>

<script>
export default {
  name: "yer-textview",
  props: {
    disabled: Boolean,
    value: String, //默认显示的字典，传字典的代码项
    inputAlign: {
      type: String,
      default: "left",
    }, //input内容对齐方式三种：left  center  right  默认left
    placeholder: {
      type: String,
      default: "",
    }
    
  },
  emits: ["update:modelValue", "input"],
  data() {
    return {
    }
  },
  methods: {
    clear() {
      this.value = "";
    },

  },
};
</script>

<style>

</style>
